/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package xmlconvert;

/**
 *
 * @author ash
 */
public class XMLconvert {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        /*
        - read parameters:
        - parameters
            - input file name [required]
            - input file format [required]
            - output file format [required]
            - output file name [optional]
        - properties file with 
            - properties file containing above information.
            
        Reader reader = Reader.createReader(inputFileName);
        XMLRetriever retriever = XMLRetriever.createRetriever(inputFileType);
        Group storage = retreiver.getAllInfo(reader);
        
            XMLRetriever - interface, PS - implementation to get info from PS formatted XML.
                getAllInfo
                     getRootItems
                     getFolders
                     getRecords
                     getFields
            Reader
                getRoot
                getKid
                getKid(name)
                getList()
                getList(name)
                getValue
                * it should be possible to do getRoot.getKid("folders").getList("folder");
                     
        Exporter ex = Exporter.createExporter(outputFileName, outputFileType);
        ex.doExport(storage);
        
         
        
        */
    }
}
